โ– humdrum codex / glint v1.0.2
license AGPL-3.0
1.1 KB raw
id
TASK-006
title
Undo / redo
status
๐ŸŸฆ Backlog
assignee
created_date
2026-06-29 16:26
labels
feature, release-1
dependencies
priority
high
ordinal
6000

Description

Release 1. The biggest gap and a data-loss safety net (select-all+type or Ctrl+U is currently unrecoverable). Add an undo stack in internal/editor capturing buffer+cursor snapshots (or reversible ops). Coalesce consecutive typing into one undo group; each structural op (newline, delete, paste, cut, delete-selection, kill-line, word-delete) is its own group. Bound history (e.g. 500 entries). Keys: Ctrl+Z undo, Ctrl+Y (and Ctrl+Shift+Z) redo. Restore cursor + scroll on undo/redo. Mark Dirty appropriately.

Acceptance Criteria